package com.teamwork.demo.mapper;

import com.teamwork.demo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

@Repository
public interface UserMapper extends JpaRepository<User, Integer>, JpaSpecificationExecutor<User>  {

    User findByUphone(String uphone);


}

